package com.ynny09;

public class FruitTest {
    public static void main(String[] args) {
        Blueberry blueberry = new Blueberry();
        blueberry.name = "蓝莓";
        blueberry.area = "昆明";
        blueberry.price = 14;
        blueberry.toString();
        System.out.println(blueberry);

        Grape grape = new Grape();
        grape.name ="西瓜";
        grape.area ="文山";
        grape.price=18;

        Watermelon watermelon = new Watermelon();
        watermelon.name="葡萄";
        watermelon.area="玉溪";
        watermelon.price=12;



    }
}
